usb_kbd_enum |
Copyright (c) 2003
usb_clear_feature usb_enumeration_process usb_ep_init usb_get_configuration usb_get_descriptor usb_get_interface usb_get_status usb_hid_get_idle usb_hid_set_idle usb_hid_set_report usb_read_request usb_set_address usb_set_configuration usb_set_feature usb_var_init
void usb_clear_feature ( void ) |
This function manages the SET_FEATURE request.
* return: |
void usb_enumeration_process ( void ) |
This function manages the enumeration process
* return: |
void usb_ep_init ( void ) |
This function configures the endpoints.
* return: |
void usb_get_configuration ( void ) |
This function manages the GET_CONFIGURATION request.
* return: |
void usb_get_descriptor ( void ) |
This function manages the GET_DESCRIPTOR request.
* return: |
void usb_get_interface ( void ) |
This function manages the GET_INTERFACE request.
* return: |
void usb_get_status ( void ) |
This function manages the GET_STATUS request.
* return: |
void usb_hid_get_idle ( void ) |
This function manages the GET_IDLE request.
* return: |
void usb_hid_set_idle ( void ) |
This function manages the HID_SET_IDLE request.
* return: |
void usb_hid_set_report ( void ) |
This function manages the SET_REPORT request (HID Class)
* return: |
void usb_read_request ( void ) |
This function reads the SETUP request sent to the default control endpoint and the appropriate function. When exiting of the usb_read_request function, the device is ready to manage the next request.
* return: |
GET_DESCRIPTOR GET_CONFIGURATION SET_ADDRESS SET_CONFIGURATION or SET_REPORT CLEAR_FEATURE SET_FEATURE GET_STATUS GET_MAX_LUN MASS_STORAGE_RESET
void usb_set_address ( void ) |
This function manages the SET_ADDRESS request. The new address is stored in the USBADDR register
* return: |
void usb_set_configuration ( void ) |
This function manages the SET_CONFIGURATION request.
* return: |
void usb_set_feature ( void ) |
This function manages the SET_FEATURE request.
* return: |
void usb_var_init ( void ) |
This function initializes the USB controller and resets the endpoints FIFOs.
* return: |